import request from '@/utils/request'
import axios from 'axios'
import qs from 'qs'

export function updateTemporaryCostRecord(data) {
    return request({
        url: '/School/UpdateTemporaryCostRecord',
        method: 'post',
        data:data
  })
}
export function getDataList(data) {
    return request({
        url: '/School/GetDataList',
        method: 'post',
        data:data
  })
}
//计算管理费
export function calculateCost(data) {
    return request({
        url: '/School/CalculateCost',
        method: 'post',
        data:data
  })
}
//计算车费
export function calculateCarCost(data) {
    return request({
        url: '/School/CalculateCarCost',
        method: 'post',
        data:data
  })
}
export function updateManagementFeeHead(data) {
    return request({
        url: '/School/UpdateManagementFeeHead',
        method: 'post',
        data:data
  })
}
export function updateManagementFeeBody(data) {
    return request({
        url: '/School/UpdateManagementFeeBody',
        method: 'post',
        data:data
  })
}
export function updateCarFareHead(data) {
    return request({
        url: '/School/UpdateCarFareHead',
        method: 'post',
        data:data
  })
}
export function updateCarFareBody(data) {
    return request({
        url: '/School/UpdateCarFareBody',
        method: 'post',
        data:data
  })
}
export function deleteHeadAndBody(data) {
    return request({
        url: '/School/DeleteHeadAndBody',
        method: 'post',
        data:data
  })
}
export function deleteBody(data) {
    return request({
        url: '/School/DeleteBody',
        method: 'post',
        data:data
  })
}
export function deleteMonth(data) {
    return request({
        url: '/School/DeleteMonth',
        method: 'post',
        data:data
  })
}
export function updateAttendance(data) {
    return request({
        url: '/School/UpdateAttendance',
        method: 'post',
        data:data
  })
}

export function updateAttendanceCar(data) {
    return request({
        url: '/School/UpdateAttendanceCar',
        method: 'post',
        data:data
  })
}
export function deleteResident(data) {
    return request({
        url: '/School/DeleteResident',
        method: 'post',
        data:data
  })
}
export function getWorkerByOrganize(data) {
    return request({
        url: '/School/GetWorkerByOrganize',
        method: 'post',
        data:data
  })
}
export function deleteDetail(data) {
    return request({
        url: '/School/DeleteDetail',
        method: 'post',
        data:data
  })
}
export function deleteCostRecord(data) {
    return request({
        url: '/School/DeleteCostRecord',
        method: 'post',
        data:data
  })
}
export function getAttendance(data) {
    return request({
        url: '/School/GetAttendance',
        method: 'post',
        data:data
  })
}

export function updateConveyingmechanism(data) {
    return request({
        url: '/School/UpdateConveyingmechanism',
        method: 'post',
        data:data
  })
}
export function deletProjectFormDataC(data) {
    return request({
        url: '/School/DeletProjectFormDataC',
        method: 'post',
        data:data
  })
}
//车费中间表获取学生
export function getCarCenter(data) {
    return request({
        url: '/School/GetCarCenter',
        method: 'post',
        data:data
  })
}
//管理费中间表获取学生
export function getCenter(data) {
    return request({
        url: '/School/GetCenter',
        method: 'post',
        data:data
  })
}
export function getCostSum(data) {
    return request({
        url: '/School/GetCostSum',
        method: 'post',
        data:data
  })
}
export function getTemCostSum(data) {
    return request({
        url: '/School/GetTemCostSum',
        method: 'post',
        data:data
  })
}
export function setCarCostIsEnd(data) {
    return request({
        url: '/School/SetCarCostIsEnd',
        method: 'post',
        data:data
  })
}
export function getSendDetail(data) {
    return request({
        url: '/School/GetSendDetail',
        method: 'post',
        data:data
  })
}
export function replenishPeople(data) {
    return request({
        url: '/School/ReplenishPeople',
        method: 'post',
        data:data
  })
}
export function replenishPeopleTem(data) {
    return request({
        url: '/School/ReplenishPeopleTem',
        method: 'post',
        data:data
  })
}